package com.hrt.manage.role.service;

import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

import com.hrt.bean.Role;

public interface RoleService {

	public List<Role> queryByPage(int pageIndex, int pageSize);

	public Long totalCount();


	public List<Role> queryByPage(List<Map<String, Object>> conditions,
			Integer pageIndex, Integer pageSize);

	public Long[] deleteById(Long[] idArr);

	public Long totalCount(Map condition);

	public String queryRoleByPinYin(String pinyin);

	public Timestamp getDate();

	public Long saveRole(Role role);

	public Role getRoleById(Long roleId);

	public void updateRole(Role role);

	public List<Role> listRole();

	public List<Role> queryRoleWithOutUsers(Long userId);

	public List<Role> getRoleByIds(Long[] array);

	public	void saveAccInfor(Long roleId, Integer scope, List<Long> resList);

	

}
